using System;
using System.IO;
using MySql.Data.MySqlClient;

public class DB {

	public static void Main(string[] args) {
		string connection="Server=localhost;User ID=kot;Password=kot;Pooling=false";
		MySqlConnection conn = new MySqlConnection(connection);
		string command = new StreamReader("DB/DB.sql").ReadToEnd();
		MySqlCommand cmd = conn.CreateCommand();
		cmd.CommandText = command;
		conn.Open();
		cmd.ExecuteNonQuery();
		conn.Close();
	}
}
